package com.atzexu.service;

import com.atzexu.domain.Assignment;
import com.atzexu.domain.dto.FindNotWorkDTO;
import com.atzexu.domain.dto.ShowWorkDTO;
import com.atzexu.domain.vo.NotWorkStudentVo;
import com.atzexu.domain.vo.UserWorkVo;

import java.util.List;

public interface AssignmentService {

    /**
     * 发布作业
     *
     * @param assignment
     * @return
     */
    boolean publishWork(Assignment assignment);

    /**
     * 展示作业完成情况
     * @param showWorkDTO
     * @return
     */
    List<UserWorkVo> showWorks(ShowWorkDTO showWorkDTO);

    /**
     * 查询时间段未提交作业的学生以及次数
     * @param findNotWorkDTO
     * @return
     */
    List<NotWorkStudentVo> findNotWorkByTime(FindNotWorkDTO findNotWorkDTO);
}
